﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SinBiota.Model.Business.MapServices.Interfaces;

namespace Sinbiota.Web.Areas.Mobile.Controllers
{
    public class MobileMapController : Controller
    {

        private readonly ITileLayerServices _tileLayerServices;
        
        
        public MobileMapController(ITileLayerServices tileLayerServices)
        {
            _tileLayerServices = tileLayerServices;
        }
        //
        // GET: /Mobile/MobileMap/
        public ActionResult Index()
        {
            return View(_tileLayerServices.GetAvailableTileLayers());
        }

    }
}
